/**
 * 
 */
package org.rcgwt.client.ui.grid.model;

import org.rcgwt.client.ui.grid.event.IModelChangeState;
import org.rcgwt.client.ui.grid.internal.HandlerManagerProvider;

import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;

/**
 * 
 * @author Matthieu ROBERT
 * 
 */
public abstract class AbstractDataModel extends HandlerManagerProvider
		implements IDataModel {

	@Override
	public HandlerRegistration addValueChangeHandler(
			ValueChangeHandler<IModelChangeState> handler) {
		return addHandler(handler, ValueChangeEvent.getType());
	}

}
